package chimpazilla.app.co_obra;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class Votar extends Activity{
	
	private Button Btcadastrar;
	private Button Btlistar;
	
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.votar);

		
		Btcadastrar = (Button)findViewById(R.id.cadastrar);
		Btcadastrar.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				Intent it = new Intent(Votar.this, Cadastrar.class);
				startActivity(it);
				
			}
		});
		
		Btlistar = (Button)findViewById(R.id.listar);
		Btlistar.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				Intent it = new Intent(Votar.this, Cadastrar.class);
				startActivity(it);
				
			}
		});
		
		
}

}